/* 
 * File:   SA_operacoes.h
 * Author: Alexandre de Jesus
 *         Wander Luiz
 *
 * Created on July 26, 2012, 11:25 PM,  Update on October 20, 2012
 */

#ifndef SA_OPERACOES_H
#define	SA_OPERACOES_H

#ifdef	__cplusplus
extern "C" {
#endif


int file_exists(const char *filename);

void salvar_memVir(memVir *mem, int qtd);

int qtd_registros();

void atualizaReg(int n);

memVir* carrega_memVir();

void salvar_mem(mem *mem, int qtd);

mem* carregar_mem();


//void salvar_pagina(pagina *pag, int qtd);

//pagina* carrega_pagina();




#ifdef	__cplusplus
}
#endif

#endif	/* SA_OPERACOES_H */

